package com.hzp.micromall.content.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzp.micromall.content.entity.PrefrenceArea;
import com.hzp.micromall.content.vo.QueryParams;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 优选专区 Mapper 接口
 * </p>
 *
 * @author houzipeng
 * @since 2022-03-08 10:15:14
 */
@Mapper
public interface PrefrenceAreaDao extends BaseMapper<PrefrenceArea> {
//    Page<PrefrenceArea> getPage(Page<PrefrenceArea> page, QueryParams params);
    Page<PrefrenceArea> getPage(Page<PrefrenceArea> page, @Param("keyword") String keyword,@Param("showStatus") Integer showStatus,@Param("startTime") String startTime,@Param("endTime") String endTime);
}
